home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / misc / o-z / x-windows / mesa-amiwin / src / polygons.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-30  |  1.5 KB  |  62 lines

  1. /* polygons.h */
  2.  
  3. /*
  4.  * Mesa 3-D graphics library
  5.  * Version:  1.2
  6.  * Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library; if not, write to the Free
  20.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  */
  22.  
  23.  
  24. /*
  25. $Id: polygons.h,v 1.4 1995/10/24 20:52:02 brianp Exp $
  26.  
  27. $Log: polygons.h,v $
  28.  * Revision 1.4  1995/10/24  20:52:02  brianp
  29.  * added prototypes for gl_compute_z and gl_polygon_edge
  30.  *
  31.  * Revision 1.3  1995/05/22  20:59:34  brianp
  32.  * Release 1.2
  33.  *
  34.  * Revision 1.2  1995/03/04  19:25:29  brianp
  35.  * 1.1 beta revision
  36.  *
  37.  * Revision 1.1  1995/02/24  14:26:49  brianp
  38.  * Initial revision
  39.  *
  40.  */
  41.  
  42.  
  43. #ifndef POLYGONS_H
  44. #define POLYGONS_H
  45.  
  46. #include "GL/gl.h"
  47.  
  48.  
  49.  
  50. extern GLint gl_compute_z( GLfloat x, GLfloat y );
  51.  
  52.  
  53. extern GLuint gl_polygon_edge( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2,
  54.                                GLfloat x[], GLint y[]);
  55.  
  56.  
  57. extern void gl_set_polygon_function( void );
  58.  
  59.  
  60. #endif
  61.  
  62.